Efficient GPU-Implementation of Adaptive Mesh Refinement for the Shallow-Water Equations
نویسندگان
چکیده
The shallow-water equations model hydrostatic flow below a free surface for cases in which the ratio between the vertical and horizontal length scales is small and are used to describe waves in lakes, rivers, oceans, and the atmosphere. The equations admit discontinuous solutions, and numerical solutions are typically computed using high-resolution schemes. For many practical problems, there is a need to increase the grid resolution locally to capture complicated structures or steep gradients in the solution. An efficient method to this end is adaptive mesh refinement (AMR), which recursively refines the grid in parts of the domain and adaptively updates the refinement as the simulation progresses. Several authors have demonstrated that the explicit stencil computations of high-resolution schemes map particularly well to many-core architectures seen in hardware accelerators such as graphics processing units (GPUs). Herein, we present the first full GPU-implementation of a block-based AMR method for the second-order Kurganov– Petrova central scheme. We discuss implementation details, potential pitfalls, and key insights, and present a series of performance and accuracy tests. Although it is only presented for a particular case herein, we believe our approach to GPU-implementation of AMR is transferable to other hyperbolic conservation laws, numerical schemes, and architectures similar to the GPU.
منابع مشابه
Adaptive Finite Volume Method for the Shallow Water Equations on Triangular Grids
This paper presents a numerical entropy production (NEP) scheme for two-dimensional shallow water equations on unstructured triangular grids. We implement NEP as the error indicator for adaptive mesh refinement or coarsening in solving the shallow water equations using a finite volumemethod. Numerical simulations show thatNEP is successful to be a refinement/coarsening indicator in the adaptive...
متن کاملAdaptive Techniques Applied to Well-balanced Schemes for Shallow Water Flows
Well-balancing is a property that enables numerical schemes to accurately capture quasi steady-state flows governed by conservation laws with source terms [2, 3, 5, 6]. These schemes are typically based on shock-capturing technology and their computational cost can be large if high accuracy in the approximated solution is required. Structured adaptive mesh refinement [1] is a technique that is ...
متن کاملAMR Multi-GPU Accelerated Tsunami Simulation
Tsunamis are natural disasters that represent a real and dangerous threat specially to countries with coasts along the Pacific Ocean. At the light of the tragic events of the 2011 Earthquake and Tsunami in Japan the importance of predicting this phenomenon has gained great relevance. In order to simulate a Tsunami the Shallow Water Equations (SWE) are used, these equations although reliable can...
متن کاملNew adaptive interpolation schemes for efficient meshbased motion estimation
Motion estimation and compensation is an essential part of existing video coding systems. The mesh-based motion estimation (MME) produces smoother motion field, better subjective quality (free from blocking artifacts), and higher peak signal-to-noise ratio (PSNR) in many cases, especially at low bitrate video communications, compared to the conventional block matching algorithm (BMA). Howev...
متن کاملDynamic Mesh Refinement on GPU using Geometry Shaders
This paper presents a real-time rendering technique for dynamic, incremental 3D mesh refinement. The technique can be applied to any triangulated 3D mesh with arbitrary topology and connectivity. The functionality relies on geometry shaders that are used to amplify or remove geometry based on precalculated refinement patterns. For each triangle, the instantiated refinement pattern is selected d...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Sci. Comput.
دوره 63 شماره
صفحات -
تاریخ انتشار 2015